<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>订单详情 | 超现实数码潮玩</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        /* 修复滚动条问题 */
        html {
            overflow-y: scroll;
        }

        body {
            width: 100vw;
            overflow-x: hidden;
            position: relative;
            background: #0a0a16;
            color: #fff;
            background-image:
                radial-gradient(circle at 10% 20%, rgba(255, 0, 128, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 50% 50%, rgba(128, 0, 255, 0.05) 0%, transparent 30%);
            min-height: 100vh;
        }

        /* 迷幻背景动画 */
        .psychedelic-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.7;
            background:
                radial-gradient(circle at 20% 80%, rgba(255, 0, 128, 0.3) 0%, transparent 25%),
                radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.3) 0%, transparent 25%),
                radial-gradient(circle at 40% 40%, rgba(128, 0, 255, 0.2) 0%, transparent 25%);
            animation: bgShift 15s infinite alternate;
        }

        @keyframes bgShift {
            0% {
                transform: scale(1) rotate(0deg);
            }

            100% {
                transform: scale(1.1) rotate(3deg);
            }
        }

        /* 导航栏 */
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 5%;
            /* position: fixed;
            top: 0;
            left: 0;
            z-index: 1000; */
            width: 100%;
            background: rgba(10, 10, 22, 0.9);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .logo {
            font-size: 28px;
            font-weight: 800;
            background: linear-gradient(45deg, #ff00cc, #3333ff);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 0 10px rgba(255, 0, 204, 0.5);
        }

        .nav-links {
            display: flex;
            gap: 30px;
        }

        .nav-links a {
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            position: relative;
            padding: 5px 0;
            transition: all 0.3s;
        }

        .nav-links a.active {
            color: #ff00cc;
        }

        .nav-links a.active:after {
            width: 100%;
        }

        .nav-links a:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #ff00cc, #3333ff);
            transition: width 0.3s;
        }

        .nav-links a:hover {
            color: #ff00cc;
        }

        .nav-links a:hover:after {
            width: 100%;
        }

        .user-menu {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .cart-icon {
            position: relative;
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: linear-gradient(45deg, #ff00cc, #3333ff);
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(45deg, #ff00cc, #3333ff);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .user-avatar i {
            font-size: 20px;
            color: white;
        }

        /* 主标题区域 */
        .hero {
            text-align: center;
            padding: 100px 5% 80px;
            position: relative;
        }

        .hero h1 {
            font-size: 4rem;
            margin-bottom: 20px;
            background: linear-gradient(45deg, #ff00cc, #00ccff, #ffcc00);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 0 20px rgba(255, 0, 204, 0.5);
            animation: titleGlow 3s infinite alternate;
        }

        @keyframes titleGlow {
            0% {
                text-shadow: 0 0 20px rgba(255, 0, 204, 0.5);
            }

            100% {
                text-shadow: 0 0 30px rgba(0, 204, 255, 0.7), 0 0 40px rgba(255, 204, 0, 0.5);
            }
        }

        .hero p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto 40px;
            color: #ccccff;
            line-height: 1.6;
        }

        /* 订单详情区域 */
        .order-detail {
            padding: 50px 5%;
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 50px;
            background: linear-gradient(45deg, #00ccff, #ffcc00);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            position: relative;
        }

        .section-title:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, #ff00cc, #3333ff);
        }

        .order-detail-container {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
        }

        .order-info {
            flex: 2;
            min-width: 300px;
        }

        .order-actions {
            flex: 1;
            min-width: 300px;
            background: rgba(20, 20, 40, 0.7);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            height: fit-content;
            position: sticky;
            top: 20px;
        }

        .info-section {
            background: rgba(20, 20, 40, 0.7);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .info-section h3 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: #ffcc00;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .info-section h3 i {
            color: #00ccff;
        }

        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .info-item {
            margin-bottom: 15px;
        }

        .info-label {
            font-weight: 600;
            color: #ccccff;
            margin-bottom: 5px;
        }

        .info-value {
            color: #00ccff;
        }

        .order-items {
            margin-top: 20px;
        }

        .order-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding: 15px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 10px;
            transition: all 0.3s;
        }

        .order-item:hover {
            background: rgba(255, 255, 255, 0.08);
        }

        .item-image {
            width: 80px;
            height: 80px;
            background: linear-gradient(45deg, #ff00cc, #3333ff);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .item-image i {
            font-size: 30px;
            color: white;
            opacity: 0.8;
        }

        .item-details {
            flex: 1;
        }

        .item-details h4 {
            font-size: 1.2rem;
            margin-bottom: 5px;
            color: #ffcc00;
        }

        .item-price {
            font-size: 1rem;
            color: #00ccff;
        }

        .item-quantity {
            font-size: 0.9rem;
            color: #ccccff;
        }

        /* 物流跟踪 */
        .tracking-timeline {
            position: relative;
            padding-left: 30px;
            margin-top: 20px;
        }

        .tracking-timeline:before {
            content: '';
            position: absolute;
            left: 10px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: rgba(255, 255, 255, 0.2);
        }

        .tracking-step {
            position: relative;
            margin-bottom: 30px;
        }

        .tracking-step:last-child {
            margin-bottom: 0;
        }

        .tracking-step:before {
            content: '';
            position: absolute;
            left: -25px;
            top: 5px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
        }

        .tracking-step.active:before {
            background: #ff00cc;
            box-shadow: 0 0 10px rgba(255, 0, 204, 0.5);
        }

        .tracking-step.completed:before {
            background: #00cc88;
        }

        .tracking-step.completed:after {
            content: '✓';
            position: absolute;
            left: -23px;
            top: 3px;
            color: white;
            font-size: 8px;
            font-weight: bold;
        }

        .tracking-date {
            font-size: 0.9rem;
            color: #ccccff;
            margin-bottom: 5px;
        }

        .tracking-status {
            font-weight: 600;
            color: #ffcc00;
        }

        .tracking-location {
            font-size: 0.9rem;
            color: #ccccff;
            margin-top: 5px;
        }

        /* 订单操作区域 */
        .actions-title {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: #ffcc00;
            text-align: center;
        }

        .action-buttons {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .action-btn {
            padding: 12px;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            font-size: 1rem;
            text-align: center;
            text-decoration: none;
        }

        .btn-primary {
            background: linear-gradient(45deg, #ff00cc, #3333ff);
            color: white;
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: #ccccff;
        }

        .btn-danger {
            background: rgba(255, 0, 0, 0.2);
            color: #ff6b6b;
            border: 1px solid rgba(255, 0, 0, 0.3);
        }

        .action-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(255, 0, 204, 0.3);
        }

        .btn-danger:hover {
            background: rgba(255, 0, 0, 0.3);
            color: white;
        }

        /* 超现实元素 */
        .surreal-elements {
            position: absolute;
            pointer-events: none;
            z-index: 1;
        }

        .floating-shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.7;
            animation: float 6s infinite ease-in-out;
        }

        .shape-1 {
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, #ff00cc, transparent);
            top: 10%;
            left: 5%;
            animation-delay: 0s;
        }

        .shape-2 {
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, #00ccff, transparent);
            top: 60%;
            right: 10%;
            animation-delay: 2s;
        }

        .shape-3 {
            width: 80px;
            height: 80px;
            background: radial-gradient(circle, #ffcc00, transparent);
            bottom: 20%;
            left: 15%;
            animation-delay: 4s;
        }

        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-20px) rotate(180deg);
            }

            100% {
                transform: translateY(0) rotate(360deg);
            }
        }

        /* 扭曲网格 */
        .distorted-grid {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:
                linear-gradient(rgba(255, 0, 204, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 0, 204, 0.1) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: gridDistort 10s infinite linear;
            /* 以顶部为中心变换 */
            transform-origin: center top;
            z-index: -1;
        }

        @keyframes gridDistort {
            0% {
                transform: perspective(500px) rotateX(60deg) scale(1);
            }

            50% {
                transform: perspective(500px) rotateX(60deg) scale(1.2) skew(5deg, 5deg);
            }

            100% {
                transform: perspective(500px) rotateX(60deg) scale(1);
            }
        }

        /* 页脚 */
        footer {
            background: rgba(10, 10, 30, 0.9);
            padding: 50px 5% 30px;
            margin-top: 100px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 40px;
        }

        .footer-section {
            flex: 1;
            min-width: 250px;
        }

        .footer-section h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: #ffcc00;
        }

        .footer-section p,
        .footer-section a {
            color: #ccccff;
            margin-bottom: 10px;
            display: block;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: #ff00cc;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: linear-gradient(45deg, #ff00cc, #3333ff);
            border-radius: 50%;
            color: white;
            font-size: 1.2rem;
            transition: all 0.3s;
        }

        .social-links a:hover {
            transform: translateY(-5px);
        }

        .copyright {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #8888cc;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .nav-links {
                display: none;
            }

            .order-detail-container {
                flex-direction: column;
            }

            .order-actions {
                position: static;
            }

            .info-grid {
                grid-template-columns: 1fr;
            }

            .order-item {
                flex-direction: column;
                text-align: center;
            }

            .item-image {
                margin-right: 0;
                margin-bottom: 10px;
            }
        }
    </style>
</head>

<body>
    <!-- 迷幻背景 -->
    <div class="psychedelic-bg"></div>

    <!-- 超现实浮动元素 -->
    <div class="surreal-elements">
        <div class="floating-shape shape-1"></div>
        <div class="floating-shape shape-2"></div>
        <div class="floating-shape shape-3"></div>
    </div>

    <!-- 扭曲网格 -->
    <div class="distorted-grid"></div>

    <!-- 导航栏 -->
    <nav>
        <div class="logo">PSYCHEDELIC TOYS</div>
        <div class="nav-links">
            <a href="index_2.html">首页</a>
            <a href="toys.html">潮玩</a>
            <a href="artists.html">艺术家</a>
            <a href="exhibitions.html">展览</a>
            <a href="about.html">关于我们</a>
            <a href="news_list.html">新闻资讯</a>
            <a href="orders.html">我的订单</a>
            <a href="order-detail.html" class="active">订单详情</a>
        </div>
        <div class="user-menu">
            <div class="cart-icon">
                <a href="cart.html"><i class="fas fa-shopping-cart"></i></a>
                <span class="cart-count">3</span>
            </div>
            <div class="user-avatar">
                <i class="fas fa-user"></i>
            </div>
        </div>
    </nav>

    <!-- 主标题区域 -->
    <section class="hero">
        <h1>订单详情</h1>
        <p>查看您的超现实数字潮玩订单信息和物流状态</p>
    </section>

    <!-- 订单详情区域 -->
    <section class="order-detail">
        <h2 class="section-title">订单信息</h2>

        <div class="order-detail-container">
            <div class="order-info">
                <!-- 订单基本信息 -->
                <div class="info-section">
                    <h3><i class="fas fa-receipt"></i> 订单基本信息</h3>
                    <div class="info-grid">
                        <div class="info-item">
                            <div class="info-label">订单号</div>
                            <div class="info-value">PSY20231201567</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">下单时间</div>
                            <div class="info-value">2023年12月1日 14:30</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">订单状态</div>
                            <div class="info-value">
                                <span style="color: #00cc88; font-weight: 600;">已完成</span>
                            </div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">支付方式</div>
                            <div class="info-value">支付宝</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">支付金额</div>
                            <div class="info-value">¥ 5,446</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">配送方式</div>
                            <div class="info-value">快递配送</div>
                        </div>
                    </div>
                </div>

                <!-- 收货信息 -->
                <div class="info-section">
                    <h3><i class="fas fa-map-marker-alt"></i> 收货信息</h3>
                    <div class="info-grid">
                        <div class="info-item">
                            <div class="info-label">收货人</div>
                            <div class="info-value">张星辰</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">联系电话</div>
                            <div class="info-value">138****5678</div>
                        </div>
                        <div class="info-item">
                            <div class="info-label">收货地址</div>
                            <div class="info-value">上海市浦东新区数字艺术园区A座1001室</div>
                        </div>
                    </div>
                </div>

                <!-- 订单商品 -->
                <div class="info-section">
                    <h3><i class="fas fa-box-open"></i> 订单商品</h3>
                    <div class="order-items">
                        <div class="order-item">
                            <div class="item-image">
                                <i class="fas fa-robot"></i>
                            </div>
                            <div class="item-details">
                                <h4>量子机械兽</h4>
                                <div class="item-price">¥ 1,299</div>
                                <div class="item-quantity">数量: 1</div>
                            </div>
                        </div>
                        <div class="order-item">
                            <div class="item-image">
                                <i class="fas fa-dragon"></i>
                            </div>
                            <div class="item-details">
                                <h4>赛博龙族</h4>
                                <div class="item-price">¥ 2,499</div>
                                <div class="item-quantity">数量: 1</div>
                            </div>
                        </div>
                        <div class="order-item">
                            <div class="item-image">
                                <i class="fas fa-cat"></i>
                            </div>
                            <div class="item-details">
                                <h4>幻影猫</h4>
                                <div class="item-price">¥ 899 × 2</div>
                                <div class="item-quantity">数量: 2</div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 物流跟踪 -->
                <div class="info-section">
                    <h3><i class="fas fa-shipping-fast"></i> 物流跟踪</h3>
                    <div class="tracking-timeline">
                        <div class="tracking-step completed">
                            <div class="tracking-date">2023年12月1日 15:00</div>
                            <div class="tracking-status">订单已支付</div>
                            <div class="tracking-location">支付成功，等待商家发货</div>
                        </div>
                        <div class="tracking-step completed">
                            <div class="tracking-date">2023年12月2日 10:30</div>
                            <div class="tracking-status">商家已发货</div>
                            <div class="tracking-location">商品已出库，等待揽收</div>
                        </div>
                        <div class="tracking-step completed">
                            <div class="tracking-date">2023年12月2日 16:45</div>
                            <div class="tracking-status">已揽收</div>
                            <div class="tracking-location">上海市浦东分拨中心</div>
                        </div>
                        <div class="tracking-step completed">
                            <div class="tracking-date">2023年12月3日 09:20</div>
                            <div class="tracking-status">运输中</div>
                            <div class="tracking-location">已发往上海市浦东新区配送站</div>
                        </div>
                        <div class="tracking-step completed">
                            <div class="tracking-date">2023年12月4日 14:15</div>
                            <div class="tracking-status">派送中</div>
                            <div class="tracking-location">快递员：李师傅 138****1234</div>
                        </div>
                        <div class="tracking-step completed">
                            <div class="tracking-date">2023年12月4日 16:30</div>
                            <div class="tracking-status">已签收</div>
                            <div class="tracking-location">本人签收</div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="order-actions">
                <h3 class="actions-title">订单操作</h3>
                <div class="action-buttons">
                    <a href="toys.html" class="action-btn btn-primary">再次购买</a>
                    <button class="action-btn btn-secondary">查看发票</button>
                    <button class="action-btn btn-secondary">联系客服</button>
                    <button class="action-btn btn-secondary">申请售后</button>
                    <button class="action-btn btn-danger">删除订单</button>
                </div>

                <div class="info-section" style="margin-top: 30px;">
                    <h3><i class="fas fa-info-circle"></i> 订单金额</h3>
                    <div class="info-item">
                        <div class="info-label">商品总额</div>
                        <div class="info-value">¥ 5,596</div>
                    </div>
                    <div class="info-item">
                        <div class="info-label">运费</div>
                        <div class="info-value">¥ 50</div>
                    </div>
                    <div class="info-item">
                        <div class="info-label">优惠折扣</div>
                        <div class="info-value">-¥ 200</div>
                    </div>
                    <div class="info-item" style="border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px;">
                        <div class="info-label" style="font-size: 1.2rem;">实付金额</div>
                        <div class="info-value" style="font-size: 1.2rem; color: #ffcc00;">¥ 5,446</div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- 页脚 -->
    <footer>
        <div class="footer-content">
            <div class="footer-section">
                <h3>关于我们</h3>
                <p>我们是一家专注于超现实数字艺术品的创作与发行平台，致力于将前沿科技与艺术创新相结合。</p>
            </div>

            <div class="footer-section">
                <h3>快速链接</h3>
                <a href="index.html">首页</a>
                <a href="toys.html">潮玩</a>
                <a href="artists.html">艺术家</a>
                <a href="exhibitions.html">展览</a>
                <a href="about.html">关于我们</a>
            </div>

            <div class="footer-section">
                <h3>联系我们</h3>
                <p>邮箱: contact@psychedelictoys.com</p>
                <p>电话: +86 123 4567 8900</p>
                <div class="social-links">
                    <a href="#"><i class="fab fa-weibo"></i></a>
                    <a href="#"><i class="fab fa-weixin"></i></a>
                    <a href="#"><i class="fab fa-instagram"></i></a>
                    <a href="#"><i class="fab fa-discord"></i></a>
                </div>
            </div>
        </div>

        <div class="copyright">
            <p>&copy; 2023 超现实数码潮玩 | 保留所有权利</p>
        </div>
    </footer>

    <script>
        // 鼠标跟随效果
        document.addEventListener('mousemove', function (e) {
            const shapes = document.querySelectorAll('.floating-shape');
            const x = e.clientX / window.innerWidth;
            const y = e.clientY / window.innerHeight;

            shapes.forEach((shape, index) => {
                const speed = (index + 1) * 0.5;
                const xMove = (x - 0.5) * speed * 50;
                const yMove = (y - 0.5) * speed * 50;

                shape.style.transform = `translate(${xMove}px, ${yMove}px)`;
            });
        });

        // 标题闪烁效果
        const title = document.querySelector('.hero h1');
        setInterval(() => {
            title.style.textShadow = `0 0 ${20 + Math.random() * 20}px rgba(${Math.random() * 255}, ${Math.random() * 255}, ${Math.random() * 255}, 0.7)`;
        }, 2000);

        // 订单操作按钮交互
        document.addEventListener('DOMContentLoaded', function () {
            const actionButtons = document.querySelectorAll('.action-btn');

            actionButtons.forEach(button => {
                button.addEventListener('click', function (e) {
                    if (this.classList.contains('btn-danger')) {
                        e.preventDefault();
                        if (confirm('确定要删除此订单吗？此操作不可恢复。')) {
                            alert('订单删除成功！');
                            // 实际应用中这里会有删除订单的API调用
                        }
                    } else if (this.classList.contains('btn-secondary')) {
                        const action = this.textContent;
                        alert(`${action}功能即将开放，敬请期待！`);
                    }
                });
            });

            // 订单商品悬停效果
            const orderItems = document.querySelectorAll('.order-item');
            orderItems.forEach(item => {
                item.addEventListener('mouseenter', function () {
                    this.style.transform = 'translateX(5px)';
                });

                item.addEventListener('mouseleave', function () {
                    this.style.transform = 'translateX(0)';
                });
            });
        });
    </script>
</body>

</html>